-------------------------------------------------------------------------------
      name:  plog_1
       log:  /accounts/projects/jr_ra/GRscarring/erratum/GRscar_erratum.log
  log type:  text
 opened on:  27 Nov 2024, 13:52:49

. *****************************************************************************
> ***
. *
. *       GRscarring.do
. *
. *       Runs files that build and execute GR Scarring project
. *
. *   Jesse Rothstein, May 2021
. *
. * To run the GRscarring project, do the following
. * 1) Install the replication archive inside a directory, with all included su
> bdirectories.
. * 2) In the GUI version of stata, type "project, setup"
. * 3) In the dialog box, navigate to this GRscarring.do file, in the directory
>  from (1)
. * 4) Type "project GRscarring, build"
.   
. *****************************************************************************
> ***
. 
.         version 12.1

. 
. * Common settings
. 
.         set more off

.         set varabbrev off       // for long projects, it's best not to abbrev
> iate

.         set linesize 132        // use 7pt font for printing

.         
.   which project
/accounts/projects/jr_ra/ado/plus/p/project.ado
*! version 1.3.1  22dec2013  picard@netbox.com

.   *Should be:
.     */accounts/projects/jr_ra/ado/plus/p/project.ado
.     *! version 1.3.1  22dec2013  picard@netbox.com
.   *To check for updates, type:
.   * adoupdate project
. 
.   * This directory includes a local copy of -project- in a zip archive. This
.   * is done to ensure replicability in case of future changes in -project- or
.   * if -project- becomes unavailable, or if you are unable to install it from
.   * the SSC archives. Make it part of the project
.         project, relies_on("project.zip")
project GRscar_erratum > do-file relies on: "project.zip" filesig(2817201689:121679)

. 
.   *Display information about computer
.   version
version 12.1

.   creturn list

System values
-------------

    --------------------------------------------------------------------------------------------------------------------------------
        c(current_date) = "27 Nov 2024"
        c(current_time) = "13:52:49"
           c(rmsg_time) = 0                          (seconds, from set rmsg)
    --------------------------------------------------------------------------------------------------------------------------------
       c(stata_version) = 18
             c(version) = 12.1                       (version)
         c(userversion) = 12.1                       (version)
      c(dyndoc_version) = 2                          (dyndoc)
    --------------------------------------------------------------------------------------------------------------------------------
           c(born_date) = "04 Apr 2024"
             c(edition) = "BE"
        c(edition_real) = "MP"
                 c(bit) = 64
                  c(SE) = 1
                  c(MP) = 1
          c(processors) = 8                          (Stata/MP, set processors)
      c(processors_lic) = 8
     c(processors_mach) = 16
      c(processors_max) = 8
       c(kmp_blocktime) = 200                        (set kmp_blocktime)
                c(mode) = "batch"
             c(console) = "console"
    --------------------------------------------------------------------------------------------------------------------------------
                  c(os) = "Unix"
               c(osdtl) = ""
            c(hostname) = "laffont"
        c(machine_type) = "PC (64-bit x86-64)"
           c(byteorder) = "lohi"
            c(username) = "jr_ra"
    --------------------------------------------------------------------------------------------------------------------------------

Directories and paths
---------------------

    --------------------------------------------------------------------------------------------------------------------------------
        c(sysdir_stata) = "/system/linux/sta.."      (sysdir)
         c(sysdir_base) = "/system/linux/sta.."      (sysdir)
         c(sysdir_site) = "/system/linux/ado/"       (sysdir)
         c(sysdir_plus) = "~/ado/plus/"              (sysdir)
     c(sysdir_personal) = "~/ado/personal/"          (sysdir)
     c(sysdir_oldplace) = "~/ado/"                   (sysdir)
              c(tmpdir) = "/tmp"
    --------------------------------------------------------------------------------------------------------------------------------
             c(adopath) = "`"UPDATES"';`"BAS.."      (adopath)
                 c(pwd) = "/accounts/project.."      (cd)
              c(dirsep) = "/"
    --------------------------------------------------------------------------------------------------------------------------------

System limits
-------------

    --------------------------------------------------------------------------------------------------------------------------------
        c(max_N_theory) = 1099511627775
        c(max_k_theory) = 5000                       (set maxvar)
    c(max_width_theory) = 1048576                    (set maxvar)
    --------------------------------------------------------------------------------------------------------------------------------
         c(max_matsize) = 11000
         c(min_matsize) = 10
          c(max_matdim) = 65534
    --------------------------------------------------------------------------------------------------------------------------------
        c(max_it_cvars) = 64
        c(max_it_fvars) = 8
    --------------------------------------------------------------------------------------------------------------------------------
        c(max_macrolen) = 15480200
            c(macrolen) = 645200                     (set maxvar)
             c(charlen) = 67783
          c(max_cmdlen) = 15480216
              c(cmdlen) = 645216                     (set maxvar)
         c(namelenbyte) = 128
         c(namelenchar) = 32
               c(eqlen) = 1337
    --------------------------------------------------------------------------------------------------------------------------------

Numerical and string limits
---------------------------

    --------------------------------------------------------------------------------------------------------------------------------
           c(mindouble) = -8.9884656743e+307
           c(maxdouble) = 8.9884656743e+307
           c(epsdouble) = 2.22044604925e-16
      c(smallestdouble) = 2.2250738585e-308
    --------------------------------------------------------------------------------------------------------------------------------
            c(minfloat) = -1.70141173319e+38
            c(maxfloat) = 1.70141173319e+38
            c(epsfloat) = 1.19209289551e-07
    --------------------------------------------------------------------------------------------------------------------------------
             c(minlong) = -2147483647
             c(maxlong) = 2147483620
    --------------------------------------------------------------------------------------------------------------------------------
              c(minint) = -32767
              c(maxint) = 32740
    --------------------------------------------------------------------------------------------------------------------------------
             c(minbyte) = -127
             c(maxbyte) = 100
    --------------------------------------------------------------------------------------------------------------------------------
        c(maxstrvarlen) = 2045
       c(maxstrlvarlen) = 2000000000
        c(maxvlabellen) = 32000
    --------------------------------------------------------------------------------------------------------------------------------

Current dataset
---------------

    --------------------------------------------------------------------------------------------------------------------------------
               c(frame) = "default"
                   c(N) = 0
                   c(k) = 0
               c(width) = 0
             c(changed) = 0
            c(filename) = ""
            c(filedate) = ""
    --------------------------------------------------------------------------------------------------------------------------------

Memory settings
---------------

    --------------------------------------------------------------------------------------------------------------------------------
              c(memory) = 33554432
              c(maxvar) = 5000                       (set maxvar)
             c(matsize) = 400                        (set matsize)
            c(niceness) = 5                          (set niceness)
          c(min_memory) = 0                          (set min_memory)
          c(max_memory) = .                          (set max_memory)
         c(segmentsize) = 33554432                   (set segmentsize)
             c(adosize) = 1000                       (set adosize)
     c(max_preservemem) = 1073741824                 (set max_preservemem)
    --------------------------------------------------------------------------------------------------------------------------------

Output settings
---------------

    --------------------------------------------------------------------------------------------------------------------------------
                c(more) = "off"                      (set more)
                c(rmsg) = "off"                      (set rmsg)
                  c(dp) = "period"                   (set dp)
            c(linesize) = 132                        (set linesize)
            c(pagesize) = 23                         (set pagesize)
             c(logtype) = "smcl"                     (set logtype)
              c(logmsg) = "on"                       (set logmsg)
             c(noisily) = 1
    --------------------------------------------------------------------------------------------------------------------------------
             c(iterlog) = "on"                       (set iterlog)
    --------------------------------------------------------------------------------------------------------------------------------
               c(level) = 95                         (set level)
              c(clevel) = 95                         (set clevel)
    --------------------------------------------------------------------------------------------------------------------------------
      c(showbaselevels) = ""                         (set showbaselevels)
      c(showemptycells) = ""                         (set showemptycells)
         c(showomitted) = ""                         (set showomitted)
             c(fvlabel) = "on"                       (set fvlabel)
              c(fvwrap) = 1                          (set fvwrap)
            c(fvwrapon) = "word"                     (set fvwrapon)
            c(lstretch) = ""                         (set lstretch)
    --------------------------------------------------------------------------------------------------------------------------------
             c(cformat) = ""                         (set cformat)
             c(sformat) = ""                         (set sformat)
             c(pformat) = ""                         (set pformat)
    --------------------------------------------------------------------------------------------------------------------------------
      c(coeftabresults) = "on"                       (set coeftabresults)
                c(dots) = "on"                       (set dots)
    --------------------------------------------------------------------------------------------------------------------------------
       c(collect_label) = "default"                  (set collect_label)
       c(collect_style) = "default"                  (set collect_style)
         c(table_style) = "table"                    (set table_style)
        c(etable_style) = "etable"                   (set etable_style)
        c(dtable_style) = "dtable"                   (set dtable_style)
        c(collect_warn) = "on"                       (set collect_warn)
    --------------------------------------------------------------------------------------------------------------------------------

Interface settings
------------------

    --------------------------------------------------------------------------------------------------------------------------------
             c(linegap) = .                          (set linegap)
       c(scrollbufsize) = .                          (set scrollbufsize)
               c(maxdb) = 50                         (set maxdb)
    --------------------------------------------------------------------------------------------------------------------------------

Graphics settings
-----------------

    --------------------------------------------------------------------------------------------------------------------------------
            c(graphics) = "on"                       (set graphics)
              c(scheme) = "stcolor"                  (set scheme)
          c(printcolor) = "asis"                     (set printcolor)
       c(min_graphsize) = 1                          (region_options)
       c(max_graphsize) = 100                        (region_options)
    --------------------------------------------------------------------------------------------------------------------------------

Network settings
----------------

    --------------------------------------------------------------------------------------------------------------------------------
           c(httpproxy) = "off"                      (set httpproxy)
       c(httpproxyhost) = ""                         (set httpproxyhost)
       c(httpproxyport) = 80                         (set httpproxyport)
    --------------------------------------------------------------------------------------------------------------------------------
       c(httpproxyauth) = "off"                      (set httpproxyauth)
       c(httpproxyuser) = ""                         (set httpproxyuser)
         c(httpproxypw) = ""                         (set httpproxypw)
    --------------------------------------------------------------------------------------------------------------------------------

Trace (program debugging) settings
----------------------------------

    --------------------------------------------------------------------------------------------------------------------------------
               c(trace) = "off"                      (set trace)
          c(tracedepth) = 32000                      (set tracedepth)
            c(tracesep) = "on"                       (set tracesep)
         c(traceindent) = "on"                       (set traceindent)
         c(traceexpand) = "on"                       (set traceexpand)
         c(tracenumber) = "off"                      (set tracenumber)
         c(tracehilite) = ""                         (set tracehilite)
    --------------------------------------------------------------------------------------------------------------------------------

Mata settings
-------------

    --------------------------------------------------------------------------------------------------------------------------------
          c(matastrict) = "off"                      (set matastrict)
            c(matalnum) = "off"                      (set matalnum)
        c(mataoptimize) = "on"                       (set mataoptimize)
           c(matafavor) = "space"                    (set matafavor)
           c(matacache) = 2000                       (set matacache)
            c(matalibs) = "lmatabase;lmatabm.."      (set matalibs)
         c(matamofirst) = "off"                      (set matamofirst)
        c(matasolvetol) = .                          (set matasolvetol)
    --------------------------------------------------------------------------------------------------------------------------------

Java settings
-------------

    --------------------------------------------------------------------------------------------------------------------------------
        c(java_heapmax) = "4096m"                    (set java_heapmax)
           c(java_home) = "/system/linux/sta.."      (set java_home)
    --------------------------------------------------------------------------------------------------------------------------------

LAPACK settings
---------------

    --------------------------------------------------------------------------------------------------------------------------------
          c(lapack_mkl) = "on"                       (set lapack_mkl)
      c(lapack_mkl_cnr) = "default"                  (set lapack_mkl_cnr)
    --------------------------------------------------------------------------------------------------------------------------------

putdocx settings
----------------

    --------------------------------------------------------------------------------------------------------------------------------
      c(docx_hardbreak) = "off"                      (set docx_hardbreak)
       c(docx_paramode) = "off"                      (set docx_paramode)
       c(docx_maxtable) = 500                        (set docx_maxtable)
    --------------------------------------------------------------------------------------------------------------------------------

putpdf settings
---------------

    --------------------------------------------------------------------------------------------------------------------------------
        c(pdf_maxtable) = 500                        (set pdf_maxtable)
    --------------------------------------------------------------------------------------------------------------------------------

Python settings
---------------

    --------------------------------------------------------------------------------------------------------------------------------
         c(python_exec) = ""                         (set python_exec)
     c(python_userpath) = ""                         (set python_userpath)
    --------------------------------------------------------------------------------------------------------------------------------

RNG settings
------------

    --------------------------------------------------------------------------------------------------------------------------------
                 c(rng) = "default"                  (set rng)
         c(rng_current) = "kiss32"
            c(rngstate) = "X075bcd151f123bb5.."      (set rngstate)
       c(rngseed_mt64s) = 123456789
           c(rngstream) = 1                          (set rngstream)
    --------------------------------------------------------------------------------------------------------------------------------

sort settings
-------------

    --------------------------------------------------------------------------------------------------------------------------------
          c(sortmethod) = "default"                  (set sortmethod)
        c(sort_current) = "qsort"
        c(sortrngstate) = "1001XZA112210f4b1.."      (set sortrngstate)
    --------------------------------------------------------------------------------------------------------------------------------

Unicode settings
----------------

    --------------------------------------------------------------------------------------------------------------------------------
           c(locale_ui) = ""                         (set locale_ui)
    c(locale_functions) = "en_US"                    (set locale_functions)
      c(locale_icudflt) = "en_US"                    (unicode locale)
    --------------------------------------------------------------------------------------------------------------------------------

Other settings
--------------

    --------------------------------------------------------------------------------------------------------------------------------
                c(type) = "double"                   (set type)
             c(maxiter) = 16000                      (set maxiter)
       c(searchdefault) = "all"                      (set searchdefault)
           c(varabbrev) = "off"                      (set varabbrev)
          c(emptycells) = "keep"                     (set emptycells)
             c(fvtrack) = "factor"                   (set fvtrack)
              c(fvbase) = "on"                       (set fvbase)
             c(odbcmgr) = "iodbc"                    (set odbcmgr)
          c(odbcdriver) = "unicode"                  (set odbcdriver)
             c(fredkey) = ""                         (set fredkey)
      c(collect_double) = "on"                       (set collect_double)
       c(dtascomplevel) = 1                          (set dtascomplevel)
       c(reshape_favor) = "memory"                   (set reshape_favor)
    --------------------------------------------------------------------------------------------------------------------------------

Other system values
-------------------

    --------------------------------------------------------------------------------------------------------------------------------
                  c(pi) = 3.141592653589793
               c(alpha) = "a b c d e f g h i.."
               c(ALPHA) = "A B C D E F G H I.."
                c(Mons) = "Jan Feb Mar Apr M.."
              c(Months) = "January February .."
               c(Wdays) = "Sun Mon Tue Wed T.."
            c(Weekdays) = "Sunday Monday Tue.."
               c(obs_t) = "byte"
                  c(rc) = 0                          (capture)
    --------------------------------------------------------------------------------------------------------------------------------

.   set

------------------------------------------------------------------------------------------------------------------------------------
    Memory settings
      set maxvar           5000       2048-120000; max. vars allowed
      set matsize          400        10-11000; max. # vars in models
      set niceness         5          0-10
      set min_memory       0          0-1600g
      set max_memory       .          32m-1600g or .
      set segmentsize      32m        1m-32g
      set adosize          1000       kilobytes
      set max_preservemem  1g         0-1600g
------------------------------------------------------------------------------------------------------------------------------------
    Output settings
      set more             off
      set rmsg             off
      set dp               period     may be period or comma
      set linesize         132        characters
      set pagesize         23         lines
      ------------------------------------------------------------------------------------------------------------------------------
      set iterlog          on
      ------------------------------------------------------------------------------------------------------------------------------
      set level            95         percent confidence intervals
      set clevel           95         percent credible intervals
      ------------------------------------------------------------------------------------------------------------------------------
      set showbaselevels              may be empty, off, on, or all
      set showemptycells              may be empty, off, or on
      set showomitted                 may be empty, off, or on
      set fvlabel          on
      set fvwrap           1          
      set fvwrapon         word       may be word or width
      ------------------------------------------------------------------------------------------------------------------------------
      set lstretch                    may be empty, off, or on
      ------------------------------------------------------------------------------------------------------------------------------
      set cformat                     may be empty or a numerical format
      set pformat                     may be empty or a numerical format
      set sformat                     may be empty or a numerical format
      ------------------------------------------------------------------------------------------------------------------------------
      set coeftabresults   on
      set dots             on
      ------------------------------------------------------------------------------------------------------------------------------
      set logtype          smcl       may be smcl or text
      set logmsg           on
      ------------------------------------------------------------------------------------------------------------------------------
      set collect_label    default
      set collect_style    default
      set table_style      table
      set etable_style     etable
      set dtable_style     dtable
      set collect_warn     on
------------------------------------------------------------------------------------------------------------------------------------
    Interface settings
      set linegap                     (not relevant)
      set scrollbufsize               (not relevant)
      ------------------------------------------------------------------------------------------------------------------------------
      set maxdb                       (not relevant)
------------------------------------------------------------------------------------------------------------------------------------
    Graphics settings
      set graphics         on
      set scheme           stcolor
      set printcolor       asis       may be automatic, asis, gs1, gs2, gs3
------------------------------------------------------------------------------------------------------------------------------------
    Network settings
      set httpproxy        off
      set httpproxyhost    
      set httpproxyport    80
      ------------------------------------------------------------------------------------------------------------------------------
      set httpproxyauth    off
      set httpproxyuser    
      set httpproxypw      
------------------------------------------------------------------------------------------------------------------------------------
    Update settings
      set update_query                (not relevant)
      set update_interval             (not relevant)
      set update_prompt               (not relevant)
------------------------------------------------------------------------------------------------------------------------------------
    Trace (programming debugging) settings
      set trace            off
      set tracedepth       32000
      set traceexpand      on
      set tracesep         on
      set traceindent      on
      set tracenumber      off
      set tracehilite      
------------------------------------------------------------------------------------------------------------------------------------
    Mata settings
      set matastrict       off
      set matalnum         off
      set mataoptimize     on
      set matafavor        space      may be space or speed
      set matacache        2000       kilobytes
      set matalibs         lmatabase;lmatabma;lmatagsem;lmatamcmc;lmatats;lmataivqreg;lmatasp;lmatapostest;lmatatab;lmatajm;lmatasvy
> ;lmataerm;lmatameta;lmatami;lmatamixlog;lmataopt;lmatafc;lmataado;lmatadata;lmatalasso;lmatahetdid;lmatapss;lmatasem;lmatacollect;
> lmatapath;lmatanumlib;lsynth_mata_subr;lmoremata14;lmoremata10;lmoremata;lgtools;livreg2;lasdoc;l_cfrmt
      set matamofirst      off
      set matasolvetol     .          may be . or any double-precision number
------------------------------------------------------------------------------------------------------------------------------------
    Java settings
      set java_heapmax     4096m
      set java_home        /system/linux/stata18/utilities/java/linux-x64/zulu-jdk17.0.10/
------------------------------------------------------------------------------------------------------------------------------------
    LAPACK settings
      set lapack_mkl       on
      set lapack_mkl_cnr   default
------------------------------------------------------------------------------------------------------------------------------------
    putdocx settings
      set docx_hardbreak   off
      set docx_paramode    off
      set docx_maxtable    500        1-10000
------------------------------------------------------------------------------------------------------------------------------------
    putpdf settings
      set pdf_maxtable     500        1-10000
------------------------------------------------------------------------------------------------------------------------------------
    Python settings
      set python_exec      
      set python_userpath  
------------------------------------------------------------------------------------------------------------------------------------
    RNG settings
      set rng              default    may be default, mt64, mt64s, or kiss32
      set rngstate         X075bcd151f123bb5159a55e50022865700053e56
      set rngstream        1          rng stream number
------------------------------------------------------------------------------------------------------------------------------------
    sort settings
      set sortmethod       default    may be default, fsort, or qsort
                           qsort      current sort method
      set sortrngstate     1001XZA112210f4b16c1cb10507a1f38cb440c400...
------------------------------------------------------------------------------------------------------------------------------------
    Unicode settings
      set locale_ui        
      set locale_functions en_US
------------------------------------------------------------------------------------------------------------------------------------
    Other settings
      set type             double     may be float or double
      set maxiter          16000      max iterations for estimation commands
      set searchdefault    all        may be local, net, or all
      set varabbrev        off
      set emptycells       keep       may be keep or drop
      set fvtrack          factor     may be term or factor
      set fvbase           on
      set processors       8          1-8
      set kmp_blocktime    200        time duration in milliseconds
      set odbcmgr          iodbc      may be iodbc or unixodbc
      set odbcdriver       unicode    may be unicode, ansi, or default
      set fredkey          
      set collect_double   on
      set dtascomplevel    1          dtas default compression level; 0-9
      set reshape_favor    default    may be default, memory, or speed
------------------------------------------------------------------------------------------------------------------------------------

.   *assert "`c(version)'"=="14.0"
. 
.   *configure directories;
.   project, doinfo
project GRscar_erratum > Project Name: GRscar_erratum
project GRscar_erratum > Project Dir.: /accounts/projects/jr_ra/GRscarring/erratum
project GRscar_erratum > Build start : 27nov2024, 13:52:49
project GRscar_erratum > Do-file Name: GRscar_erratum.do

.   local pdir "`r(pdir)'"

.   
.                                                             // the project's main dir.
.   set scheme s1color

. 
.  
. 
. ********************************************************************************
. ********************************************************************************
. ************* STEP 1: READ IN, CLEAN, COMPILE, AND COLLAPSE RAW DATA ***********
. ********************************************************************************
. 
. *******************
.      ** MISC **
. *******************
. 
. project, do(`pdir'/programs/prepare/cpi.do)
project GRscar_erratum > do-file uses original: "programs/prepare/cpi.do" filesig(2802875680:1363)
project GRscar_erratum > do-file creates: "programs/prepare/cpi.log" filesig(2506199398:2682)

. project, do(`pdir'/programs/prepare/unrate.do)
project GRscar_erratum > do-file uses original: "programs/prepare/unrate.do" filesig(2182922174:6080)
project GRscar_erratum > do-file creates: "programs/prepare/unrate.log" filesig(3532386172:14674)

. project, do(`pdir'/programs/prepare/statepop.do)
project GRscar_erratum > do-file uses original: "programs/prepare/statepop.do" filesig(3042303265:5272)
project GRscar_erratum > do-file creates: "programs/prepare/statepop.log" filesig(2104602925:17264)

. project, do(`pdir'/programs/prepare/recessionlist.do)
project GRscar_erratum > do-file uses original: "programs/prepare/recessionlist.do" filesig(2968201064:1701)
project GRscar_erratum > do-file creates: "programs/prepare/recessionlist.log" filesig(3082547069:3213)

. 
. 
. *******************
. **** FULL CPS ****
. *******************
. * Extract and clean the monthly CPS data
.         project, do(`pdir'/programs/prepare/extractcps.do)
project GRscar_erratum > do-file uses original: "programs/prepare/extractcps.do" filesig(1269550927:61613)
project GRscar_erratum > do-file creates: "programs/prepare/extractcps.log" filesig(2155434998:439354)

. 
. * Generate lives with partner variable
.         project, do(`pdir'/programs/prepare/findpartners.do)
project GRscar_erratum > do-file uses original: "programs/prepare/findpartners.do" filesig(2818757847:3357)
project GRscar_erratum > do-file creates: "programs/prepare/findpartners.log" filesig(1804316365:8778)

. 
. * Collapses the data by cohort
.         project, do(`pdir'/programs/prepare/collapse_bigcps.do)
project GRscar_erratum > do-file uses original: "programs/prepare/collapse_bigcps.do" filesig(573501480:7499)
project GRscar_erratum > do-file creates: "programs/prepare/collapse_bigcps.log" filesig(2150904695:16099)

. 
. 
. *******************
. **** MARCH CPS ****
. *******************
. * (using NBER code and structure)
. global nbercode "`pdir'/programs/fromNBER"

. 
. 
. ** Read in rawraw files: **
. forvalues yr=79/99 {
  2.         project, do(${nbercode}/cpsmar`yr'.do)
  3. }
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar79.do" filesig(1745812842:16775)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar79.log" filesig(3984186270:24832)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar80.do" filesig(1013081223:16772)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar80.log" filesig(3954688965:24915)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar81.do" filesig(1611336812:16527)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar81.log" filesig(1874889109:24675)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar82.do" filesig(3369032904:16527)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar82.log" filesig(3917104207:24658)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar83.do" filesig(1255229532:16525)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar83.log" filesig(335083026:24653)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar84.do" filesig(242397438:16525)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar84.log" filesig(2217250273:24692)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar85.do" filesig(292422789:16522)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar85.log" filesig(2597962989:24715)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar86.do" filesig(3047973854:16512)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar86.log" filesig(1380460072:24880)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar87.do" filesig(1569821242:17323)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar87.log" filesig(851924950:26105)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar88.do" filesig(3241187859:145592)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar88.log" filesig(3593987777:178170)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar89.do" filesig(2138778035:145427)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar89.log" filesig(903486907:178265)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar90.do" filesig(2567888368:145537)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar90.log" filesig(4140992607:178543)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar91.do" filesig(3929427509:145827)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar91.log" filesig(3120891131:178696)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar92.do" filesig(2179589598:147826)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar92.log" filesig(460099111:181502)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar93.do" filesig(2353198615:147644)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar93.log" filesig(4026046609:181311)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar94.do" filesig(166118156:139345)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar94.log" filesig(2955612111:171343)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar95.do" filesig(3018586696:134693)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar95.log" filesig(1106135907:165291)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar96.do" filesig(3783475998:146151)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar96.log" filesig(943346400:179140)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar97.do" filesig(1580660034:143356)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar97.log" filesig(3399148196:175752)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar98.do" filesig(2516858041:142782)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar98.log" filesig(2326636985:175138)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar99.do" filesig(921153095:146009)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar99.log" filesig(3757802808:178966)

. forvalues yr=0/12 {
  2.         if `yr'<10 local yr "0`yr'"
  3.         project, do(${nbercode}/cpsmar`yr'.do)
  4. }
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar00.do" filesig(2555222983:145022)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar00.log" filesig(1237088499:177953)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar01.do" filesig(3250744816:155967)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar01.log" filesig(4236186815:191134)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar02.do" filesig(2417832873:156002)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar02.log" filesig(2695176963:191076)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar03.do" filesig(1902411046:167905)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar03.log" filesig(938967412:204434)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar04.do" filesig(3924198262:156160)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar04.log" filesig(3648170403:191903)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar05.do" filesig(1043023946:163328)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar05.log" filesig(1498762087:199813)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar06.do" filesig(1768505497:156186)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar06.log" filesig(4204756512:191186)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar07.do" filesig(4243888459:158281)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar07.log" filesig(815542804:193577)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar08.do" filesig(3827852530:169093)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar08.log" filesig(3269384958:205589)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar09.do" filesig(2247269487:194162)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar09.log" filesig(3000877860:235257)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar10.do" filesig(1920241176:174804)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar10.log" filesig(26035916:212194)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar11.do" filesig(652228699:172039)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar11.log" filesig(8113490:209062)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar12.do" filesig(226118767:174392)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar12.log" filesig(1363756653:211851)

. forvalues yr=2013/2018 {
  2.         if `yr'==2014 project, do(${nbercode}/cpsmar`yr't.do)
  3.         else project, do(${nbercode}/cpsmar`yr'.do)
  4. }
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar2013.do" filesig(558788455:175559)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar2013.log" filesig(1769238360:213283)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar2014t.do" filesig(2729490787:175307)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar2014t.log" filesig(630041235:212799)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar2015.do" filesig(3800690984:179612)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar2015.log" filesig(2248528940:217294)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar2016.do" filesig(1788047344:310724)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar2016.log" filesig(1307911031:365989)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar2017.do" filesig(378261701:311017)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar2017.log" filesig(202936175:366080)
project GRscar_erratum > do-file uses original: "programs/fromNBER/cpsmar2018.do" filesig(3641476207:311018)
project GRscar_erratum > do-file creates: "programs/fromNBER/cpsmar2018.log" filesig(1397529301:366073)

. 
. 
. ** Compile: **
. project, do(`pdir'/programs/prepare/clean_compile_march.do)
project GRscar_erratum > do-file uses original: "programs/prepare/clean_compile_march.do" filesig(2909976268:30179)
project GRscar_erratum > do-file creates: "programs/prepare/clean_compile_march.log" filesig(3523030732:59320)

. project, do(`pdir'/programs/prepare/collapse_march.do)
project GRscar_erratum > do-file uses original: "programs/prepare/collapse_march.do" filesig(1442511898:15192)
project GRscar_erratum > do-file creates: "programs/prepare/collapse_march.log" filesig(3625309794:37533)

. 
. 
. *******************
. ******* ORG *******
. *******************
. * Extract and clean the ORG data
. project, do(`pdir'/programs/prepare/makemorg2019.do)
project GRscar_erratum > do-file uses original: "programs/prepare/makemorg2019.do" filesig(4196961441:2939)
project GRscar_erratum > do-file creates: "programs/prepare/makemorg2019.log" filesig(721211839:10894)

. project, do(`pdir'/programs/prepare/extractorg_morg.do)
project GRscar_erratum > do-file uses original: "programs/prepare/extractorg_morg.do" filesig(1373565710:14977)
project GRscar_erratum > do-file creates: "programs/prepare/extractorg_morg.log" filesig(1202198276:176844)

. 
. * Collapses the data by cohort
. project, do(`pdir'/programs/prepare/collapse_org.do)
project GRscar_erratum > do-file uses original: "programs/prepare/collapse_org.do" filesig(2128085946:6091)
project GRscar_erratum > do-file creates: "programs/prepare/collapse_org.log" filesig(2364590646:12242)

. 
. *******************
.    **** ACS ****
. *******************
. 
. project, do(`pdir'/programs/prepare/ipums_acs_youngadult.do)
project GRscar_erratum > do-file uses original: "programs/prepare/ipums_acs_youngadult.do" filesig(3096018619:16351)
project GRscar_erratum > do-file creates: "programs/prepare/ipums_acs_youngadult.log" filesig(1670655048:19191)

. 
. *Combine ORG, March, and monthly, and combine BA and grad degrees
. project, do(`pdir'/programs/prepare/combinecollapse.do)
project GRscar_erratum > do-file uses original: "programs/prepare/combinecollapse.do" filesig(747988498:9972)
project GRscar_erratum > do-file creates: "programs/prepare/combinecollapse.log" filesig(1074555365:34882)

. 
. ************************
.   ****Double Weight****
. ************************
. project, do(`pdir'/programs/prepare/ipums_doubleweight.do)
project GRscar_erratum > do-file uses original: "programs/prepare/ipums_doubleweight.do" filesig(1476646368:49267)
project GRscar_erratum > do-file creates: "programs/prepare/ipums_doubleweight.log" filesig(2401461206:53813)

. project, do(`pdir'/programs/prepare/double_weight.do)
project GRscar_erratum > do-file uses original: "programs/prepare/double_weight.do" filesig(3741441411:4910)
project GRscar_erratum > do-file creates: "programs/prepare/double_weight.log" filesig(3441344781:105205)

. 
. ********************************************************************************
. *********************************
. ******** STEP 3: ANALYSIS ********
. **********************************
. 
. *Running and storing coefficients for models 1 - 5
.         project, do(`pdir'/programs/analysis/runatc.do)
project GRscar_erratum > do-file uses original: "programs/analysis/runatc.do" filesig(567570565:39924)
project GRscar_erratum > do-file creates: "programs/analysis/runatc.log" filesig(922786087:1913951)

.         
. *Extrapolate regressions
.         project, do(`pdir'/programs/analysis/extrapolate.do)
project GRscar_erratum > do-file uses original: "programs/analysis/extrapolate.do" filesig(692803732:9957)
project GRscar_erratum > do-file creates: "programs/analysis/extrapolate.log" filesig(855488195:26832)

. 
. *******************
. ***** Figures *****
. *******************
.  project, do(`pdir'/programs/analysis/fig_ur.do)
project GRscar_erratum > do-file uses original: "programs/analysis/fig_ur.do" filesig(851213343:3234)
project GRscar_erratum > do-file creates: "programs/analysis/fig_ur.log" filesig(583681148:10003)

.  project, do(`pdir'/programs/analysis/fig_ur_age.do)
project GRscar_erratum > do-file uses original: "programs/analysis/fig_ur_age.do" filesig(1860094009:8943)
project GRscar_erratum > do-file creates: "programs/analysis/fig_ur_age.log" filesig(3620243860:67628)

.  project, do(`pdir'/programs/analysis/simplecohortmeans.do)
project GRscar_erratum > do-file uses original: "programs/analysis/simplecohortmeans.do" filesig(1076863296:2695)
project GRscar_erratum > do-file creates: "programs/analysis/simplecohortmeans.log" filesig(1317829939:5230)

.  project, do(`pdir'/programs/analysis/fig_atcfx.do)
project GRscar_erratum > do-file uses original: "programs/analysis/fig_atcfx.do" filesig(1842333446:13815)
project GRscar_erratum > do-file creates: "programs/analysis/fig_atcfx.log" filesig(1566939618:19300)

.  project, do(`pdir'/programs/analysis/fig_semitransitory.do)
project GRscar_erratum > do-file uses original: "programs/analysis/fig_semitransitory.do" filesig(43256166:10838)
project GRscar_erratum > do-file creates: "programs/analysis/fig_semitransitory.log" filesig(4190730682:14779)

.  project, do(`pdir'/programs/analysis/fig_eduageyear.do)
project GRscar_erratum > do-file uses original: "programs/analysis/fig_eduageyear.do" filesig(3008931937:4093)
project GRscar_erratum > do-file creates: "programs/analysis/fig_eduageyear.log" filesig(3946275058:7029)

.  project, do(`pdir'/programs/analysis/cohfxregs.do)
project GRscar_erratum > do-file uses original: "programs/analysis/cohfxregs.do" filesig(1493880329:20653)
project GRscar_erratum > do-file creates: "programs/analysis/cohfxregs.log" filesig(1141094960:171038)

.  project, do(`pdir'/programs/analysis/summarystats.do) 
project GRscar_erratum > do-file uses original: "programs/analysis/summarystats.do" filesig(1920317304:8709)
project GRscar_erratum > do-file creates: "programs/analysis/summarystats.log" filesig(4136467116:16827)

.  project, do(`pdir'/programs/analysis/simulation.do)
project GRscar_erratum > do-file uses original: "programs/analysis/simulation.do" filesig(4292784311:4301)
project GRscar_erratum > do-file creates: "programs/analysis/simulation.log" filesig(3213739076:13139)

. 
. *Running and storing coefficients by sex
.  project, do(`pdir'/programs/analysis/runatc_bygender.do)
project GRscar_erratum > do-file uses original: "programs/analysis/runatc_bygender.do" filesig(1055050288:17852)
project GRscar_erratum > do-file creates: "programs/analysis/runatc_bygender.log" filesig(408434176:1682425)

. 
.  project, do(`pdir'/programs/analysis/fig_atcfxbygender.do)
project GRscar_erratum > do-file uses original: "programs/analysis/fig_atcfxbygender.do" filesig(3949121537:7362)
project GRscar_erratum > do-file creates: "programs/analysis/fig_atcfxbygender.log" filesig(4129783436:11156)

.  project, do(`pdir'/programs/analysis/fig_atcfx_time.do)
project GRscar_erratum > do-file uses original: "programs/analysis/fig_atcfx_time.do" filesig(2664285397:2386)
project GRscar_erratum > do-file creates: "programs/analysis/fig_atcfx_time.log" filesig(3860756091:4348)

.  project, do(`pdir'/programs/analysis/fig_atcfx_age.do)
project GRscar_erratum > do-file uses original: "programs/analysis/fig_atcfx_age.do" filesig(2970106516:1965)
project GRscar_erratum > do-file creates: "programs/analysis/fig_atcfx_age.log" filesig(1884096368:3803)

.  project, do(`pdir'/programs/analysis/miscstats.do)
project GRscar_erratum > do-file uses original: "programs/analysis/miscstats.do" filesig(253347765:12645)
project GRscar_erratum > do-file creates: "programs/analysis/miscstats.log" filesig(2503680469:81318)

.  project, do(`pdir'/programs/analysis/fig_imr.do)
project GRscar_erratum > do-file uses original: "programs/analysis/fig_imr.do" filesig(2625499941:7530)
project GRscar_erratum > do-file creates: "programs/analysis/fig_imr.log" filesig(1344495039:10140)

.  project, do(`pdir'/programs/analysis/ivrunatc.do)
project GRscar_erratum > do-file uses original: "programs/analysis/ivrunatc.do" filesig(2966647221:11456)
project GRscar_erratum > do-file creates: "programs/analysis/ivrunatc.log" filesig(4111809519:80110)

.  project, do(`pdir'/programs/analysis/runatc_balanced.do)
project GRscar_erratum > do-file uses original: "programs/analysis/runatc_balanced.do" filesig(145498071:13007)
project GRscar_erratum > do-file creates: "programs/analysis/runatc_balanced.log" filesig(89137934:178819)

.  project, do(`pdir'/programs/analysis/fig_atcfx_balanced.do)
project GRscar_erratum > do-file uses original: "programs/analysis/fig_atcfx_balanced.do" filesig(580288319:6296)
project GRscar_erratum > do-file creates: "programs/analysis/fig_atcfx_balanced.log" filesig(586457628:9838)

. 
. ** end of project **
. 
.  
. 
end of do-file
      name:  plog_1
       log:  /accounts/projects/jr_ra/GRscarring/erratum/GRscar_erratum.log
  log type:  text
 closed on:  27 Nov 2024, 18:08:51
------------------------------------------------------------------------------------------------------------------------------------
